import 'package:get/get.dart';
import 'package:meco/views/chat/chat/index.dart';
import 'package:meco/views/chat/notification/index.dart';
import 'package:meco/views/index.dart';
import 'package:meco/views/time/firing/index.dart';
import 'package:meco/views/share/upload/index.dart';
import 'package:meco/views/time/video_detail/index.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.main;

  static final List<GetPage> routes = [
    GetPage(name: Routes.start, page: () => const StartPage()),
    GetPage(
      name: Routes.main,
      page: () => const MainPage(),
      binding: MainBinding(),
    ),
    GetPage(
      name: Routes.login,
      page: () => const LoginPage(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: Routes.register,
      page: () => const RegisterPage(),
      binding: RegisterBinding(),
    ),
    GetPage(name: Routes.home, page: () => const HomePage()),
    GetPage(name: Routes.share, page: () => const SharePage()),
    GetPage(name: Routes.me, page: () => const MePage()),
    GetPage(name: Routes.time, page: () => const TimePage()),
    GetPage(name: Routes.official, page: () => const OfficialPage()),
    GetPage(name: Routes.firing, page: () => const FiringPage()),
    GetPage(name: Routes.upload, page: () => const UploadPage()),
    GetPage(name: Routes.detail, page: () => const DetailPage()),
    GetPage(name: Routes.information, page: () => const InformationPage()),
    GetPage(name: Routes.setup, page: () => const SetupPage()),
    GetPage(name: Routes.chat, page: () => const ChatPage()),
    GetPage(name: Routes.notification, page: () => const NotificationPage()),
    GetPage(
      name: Routes.videoDetail,
      page: () => const VideoDetailPage(),
      binding: VideoDetailBinding(),
    ),
  ];
}
